//
//  RootViewController.h
//  XMLtoCD08
//
//  Created by Miles on 10-03-24.
//  Copyright Miles Thorogood
//  greenmeat.net 2010. All rights reserved.
//
// added AddNewArtist class to populate core data model
// implemented image saved into persistant store
//
@interface RootViewController : UITableViewController <NSFetchedResultsControllerDelegate> {
	NSFetchedResultsController *fetchedResultsController;
	NSManagedObjectContext *managedObjectContext;
	NSMutableArray *artistsFromXML ;
	
	IBOutlet UIView *splashView ; // the splasher
}


@property (nonatomic, retain) NSFetchedResultsController *fetchedResultsController;
@property (nonatomic, retain) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain) 	NSMutableArray *artistsFromXML ;
@property (nonatomic, retain) UIView *splashView ; 
// splash methods
- (void)showSplash;
- (void)hideSplash;

- (void) deleteAllObjects: (NSString *) entityDescription ;
- (void) insertNewObject ;

- (NSDate *) stringToDate:(NSString *) datestring ;

@end
